// component/nav_one/nav_one.js
Component({

  // 组件的属性列表
  properties: {
    list: {
      type: Object,
      value: [],
    }
  },
  /**
   * 页面的初始数据
   */
  data: {

  },
  options:{
    addGlobalClass: true
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})

/**
 * 测试数据：
 * banners: [{"id":10,"title":"1","url":"\/wap\/special\/special_cate.html","pic":"http:\/\/cremb-zsff.oss-cn-beijing.aliyuncs.com\/f4313202002201232435004.jpg"},{"id":11,"title":"2","url":"\/wap\/special\/special_cate.html","pic":"http:\/\/cremb-zsff.oss-cn-beijing.aliyuncs.com\/d41c7202002201232431520.jpg"},{"id":12,"title":"3","url":"\/wap\/special\/special_cate.html","pic":"http:\/\/cremb-zsff.oss-cn-beijing.aliyuncs.com\/ce99d202002201232432554.jpg"}],
 **/